#!/usr/bin/env python
#_*_coding:utf-8_*_

def short_list(list):
    try:
        list.sort()
        return list
    except AttributeError as e:
        print(e)


a={"a":'b'}
b=[1,10,3,4,2]
print(short_list(a))
print(short_list(b))
